package com.apkfuns.jsbridge;


/**
 * Created by pengwei on 2017/6/14.
 */

class JBLog {
    // DEBUG
    private static final boolean DEBUG = JsBridgeConfigImpl.getInstance().isDebug();

    public static void d(String msg) {
        if (DEBUG) {
            LogUtils.debug(JsBridge.TAG, msg);
        }
    }

    public static void e(String msg, Throwable throwable) {
        if (DEBUG) {
            LogUtils.error(JsBridge.TAG, msg, throwable);
        }
    }
}
